package com.grieous.scheduler;





import com.grieous.solr.SolrServerManager;


public class Task {

	public void refereshIndex() {
		SolrServerManager solrServerManager=SolrServerManager.getInstance();
		solrServerManager.swapCore("core2", "core3");
		solrServerManager.reloadCore();
		solrServerManager.createIndex("core3");
		
	}
}
